package com.cn.lp.export.server.entity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 导出数据
 *
 * @author wuqirong
 * @date 2020-10-16
 * <p>
 * All rights Reserved, Designed www.xiao100.com
 */
public class ExportData implements Comparable<ExportData> {

    /** 排序 **/
    private int sort;

    /** 数据列表 **/
    private List<Map<String, Object>> dataList = new ArrayList<>();

    public List<Map<String, Object>> getDataList() {
        return dataList;
    }

    @Override
    public int compareTo(ExportData o) {
        if (o != null) {
            return this.sort - o.sort;
        }
        return 1;
    }
}
